﻿using System;
using System.ComponentModel;
using System.Linq.Expressions;
using System.Windows;
using SoftSource.Common;
using SoftSource.Timecard.ViewModelInterfaces;

namespace SoftSource.Timecard.ViewModels
{
    public sealed class ManagementViewModel : IManagementViewModel
    {
        #region IManagementViewModel Members
        public Func<UIElement> ManageCategories { get; set; }
        public Func<UIElement> ManageCustomers { get; set; }
        public Func<UIElement> ManageMilestones { get; set; }
        public Func<UIElement> ManageProjects { get; set; }
        public Func<UIElement> ManageUsers { get; set; }
        public Func<UIElement> ManageInvoices { get; set; }
        public Func<UIElement> ManageTimecards { get; set; }
        #endregion IManagementViewModel Members

        #region INotifyPropertyChanged Members

        public event PropertyChangedEventHandler PropertyChanged;

        #endregion

        #region IDisposable Members

        public void Dispose()
        {
            GC.SuppressFinalize(this);
        }

        #endregion

        ~ManagementViewModel()
        {
            this.Dispose();
        }
    }
}
